package com.djl.zenithbite.repository;

import com.djl.zenithbite.entity.ProductCategoryRelation;
import com.djl.zenithbite.entity.ProductCategoryRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductCategoryRelationMapper {
    int countByExample(ProductCategoryRelationExample example);

    int deleteByExample(ProductCategoryRelationExample example);

    int deleteByPrimaryKey(Integer relationId);

    int insert(ProductCategoryRelation record);

    int insertSelective(ProductCategoryRelation record);

    List<ProductCategoryRelation> selectByExample(ProductCategoryRelationExample example);

    ProductCategoryRelation selectByPrimaryKey(Integer relationId);

    int updateByExampleSelective(@Param("record") ProductCategoryRelation record, @Param("example") ProductCategoryRelationExample example);

    int updateByExample(@Param("record") ProductCategoryRelation record, @Param("example") ProductCategoryRelationExample example);

    int updateByPrimaryKeySelective(ProductCategoryRelation record);

    int updateByPrimaryKey(ProductCategoryRelation record);
}